#pragma once
#include <string>
#include <vector>

/////////////////////////////////////////////////////////////////////////////////////////////
/*

    OfflineModel是一个提供离线消息的操作接口类
    
*/
class OfflineMsgModel
{
public:
    /*············································

                    存储用户的离线消息
    
    ············································*/
    void Insert(int userid, const std::string& msg);
    /*············································

                删除用户的离线消息
    
    ············································*/
    void Remove(int userid);
    /*············································

                查询用户的离线消息
    
    ············································*/
    std::vector<std::string> Query(int userid);
};